package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("prescription")
public class Prescription {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "MedicalID")
    private int MedicalID;

    @TableField(value = "RegistID")
    private int RegistID;

    @TableField(value = "UserID")
    private int UserID;

    @TableField(value = "PrescriptionName")
    private String PrescriptionName;

    @TableField(value = "PrescriptionTime")
    private Date PrescriptionTime;

    @TableField(value = "PrescriptionState")
    private int PrescriptionState;


}
